package com.woniu.micropropertyserver.service;


import com.github.pagehelper.PageInfo;
import com.woniu.microcommonsserver.entity.RelativesInfoEntity;
import com.woniu.micropropertyserver.util.PageRest;

import java.util.List;

public interface IReletivesInfoService {

    List<RelativesInfoEntity> findall();
    List<RelativesInfoEntity> findByoid(Long id);
    RelativesInfoEntity findById(Long id);
    int updateInfo(RelativesInfoEntity relativesInfo);
    int delInfo(Long id);
    Long saveInfo(RelativesInfoEntity relativesInfo);
    PageInfo<RelativesInfoEntity> findAllByParams(PageRest pageRest, RelativesInfoEntity relativesInfo);
    RelativesInfoEntity findByCard(String id);

}
